<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title></title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/base.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/layer.css" rel="stylesheet">
    <link href="css/pagination.css" rel="stylesheet">
    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet">
    <style>

        .u_Li {
            display: block;
            width: 100%;
            height: auto;
        }

        .u_Li a {
            display: block;
            width: 100%;
            height: 40px;
            line-height: 40px;
            cursor: pointer;
            vertical-align: middle;
            background-color: #293038;
            color: #fff;
        }

        .u_Li .two {
            width: 100%;
        }
        .two ,.third{
            position: relative;
            display: none;
        }
        .u_Li {
            background-color: #293038;
            border-top: 1px solid #6C6C6C;
            cursor: pointer;
        }
        .one .u_Li a:hover {
            color:#fff;
        }
       .two .u_Li a:hover {
            background-color: #6E6E6E;
            color:#fff;
        }
        .two .activeBg ,.third .activeBg{
            background-color: #6E6E6E;
            color:#fff;
        }
        .two .activeBg a ,.third .activeBg a{
            background-color: #6E6E6E;
            color:#fff;
        }

        .two .u_Li a{
            display: block;
            padding: 0 0 5px 15px;
        }
        .third .u_Li {
            height: 40px;
            line-height: 40px;
        }
        .two .u_Li .third .u_Li a{
            width: 100%;
            display: block;
            padding: 0;
            text-align: center;
        }
        .side_icon {
            float: left;
            width: 16px;
            height: 16px;
            margin-top: 12px;
            margin-left: 12px;
            margin-right: 15px;
            vertical-align: middle;
        }

        .side_text {
            float: left;
            display: inline-block;
            font-size: 13px;
        }

        .side_up {
            float: right;
            width: 10px;
            height: 10px;
            margin-top: 15px;
            margin-right: 12px;
        }
        .side_top{
            width: 100%;
            height: 50px;
            line-height: 50px;
            margin-top: 30px;
            text-align: center;
            font-size: 14px;
            color: #fff;
            background-color: #293038;
            letter-spacing: 1px;
        }
        .activeImg{
            animation: bian2 0.5s linear ;
            -webkit-animation: bian2 0.5s linear ;
            animation-fill-mode: forwards;
            -webkit-animation-fill-mode:forwards;
        }
        .fs_12{
            float: left;
            width: 12px;
            height: 12px;
            margin-top: 14px;
            margin-left: 12px;
            margin-right: 15px;
            vertical-align: middle;
        }
        .activeIcon{
            animation: bian4 0.5s linear ;
            -webkit-animation: bian4 0.5s linear ;
            animation-fill-mode: forwards;
            -webkit-animation-fill-mode:forwards;
        }
        #content .co_wt{
            color: #fff;
        }
        @-webkit-keyframes bian2 {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(36deg);
            }
            50% {
                -webkit-transform:rotate(90deg);
            }
            75% {
                -webkit-transform:rotate(135deg);
            }
            100% {
                -webkit-transform:rotate(180deg);
            }
        }
        @keyframes bian2
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(36deg);
            }
            50% {
                -webkit-transform:rotate(90deg);
            }
            75% {
                -webkit-transform:rotate(135deg);
            }
            100% {
                -webkit-transform:rotate(180deg);
            }
        }

        @-moz-keyframes bian2 /* Firefox */
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(36deg);
            }
            50% {
                -webkit-transform:rotate(90deg);
            }
            75% {
                -webkit-transform:rotate(135deg);
            }
            100% {
                -webkit-transform:rotate(180deg);
            }
        }

        @-webkit-keyframes bian2 /* Safari 和 Chrome */
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(36deg);
            }
            50% {
                -webkit-transform:rotate(90deg);
            }
            75% {
                -webkit-transform:rotate(135deg);
            }
            100% {
                -webkit-transform:rotate(180deg);
            }
        }

        @-o-keyframes bian2 /* Opera */
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(36deg);
            }
            50% {
                -webkit-transform:rotate(90deg);
            }
            75% {
                -webkit-transform:rotate(135deg);
            }
            100% {
                -webkit-transform:rotate(180deg);
            }
        }

        @-webkit-keyframes bian4{
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(22.5deg);
            }
            50% {
                -webkit-transform:rotate(45deg);
            }
            75% {
                -webkit-transform:rotate(77.5deg);
            }
            100% {
                -webkit-transform:rotate(90deg);
            }
        }
        @keyframes bian4
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(22.5deg);
            }
            50% {
                -webkit-transform:rotate(45deg);
            }
            75% {
                -webkit-transform:rotate(77.5deg);
            }
            100% {
                -webkit-transform:rotate(90deg);
            }
        }

        @-moz-keyframes bian4 /* Firefox */
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(22.5deg);
            }
            50% {
                -webkit-transform:rotate(45deg);
            }
            75% {
                -webkit-transform:rotate(77.5deg);
            }
            100% {
                -webkit-transform:rotate(90deg);
            }
        }

        @-o-keyframes bian4 /* Opera */
        {
            0% {
                -webkit-transform:rotate(0deg);
            }
            25% {
                -webkit-transform:rotate(22.5deg);
            }
            50% {
                -webkit-transform:rotate(45deg);
            }
            75% {
                -webkit-transform:rotate(77.5deg);
            }
            100% {
                -webkit-transform:rotate(90deg);
            }
        }
    </style>
</head>
<body>
<div id="warp">
    <nav id="nav" class="col-sm-12 col-lg-12 navbar">
        <a class="logo" href="javascript:void(0);"></a>
        <span class="AuditText">运营平台</span>
        <ul class="navbar-right">
        <input type="hidden" id="username" value="wuyingjiao">
            <li class="login_name">
                <a class="state" href="javascript:void(0);"><span class="caret tx_fr"></span><span class="busNmae">吴英骄</span></a>
                <ul class="quit" onclick="logout()">
                    <li><a href="javascript:void(0);" >退出</a></li>
                </ul>
            </li>
        </ul>
        <ul class="navbar-right">
        <input type="hidden" id="ssoUrl" value="http://sso.daiyutech.com/">
            <li class="login_name" onclick="ssoTurn()">
              <a class="state" href="javascript:void(0);"><span id="ssoTurn" class="busNmae">SSO系统</span></a>
              <!-- <span class="busNmae" onclick="ssoTurn()">SSO系统</span> -->
            </li>
        </ul>
        
            <ul class="navbar-right" id="signStatusUl">
                
                
                <li class="login_name1 qianLi">
                    <a class="navbar-right qian" href="javascript:void(0);" onclick="signStatus('18760dec-f53b-4a6b-9bf8-2cf322da9a35','1');">未签到</a>
                <li>
                    
                    
                        
                    
            </ul>
        

    </nav>
    <div id="content">

            <div class="sidebar">
                <li class="sideConller"><span class="glyphicon glyphicon-resize-horizontal listSou" aria-hidden="true"></span></li>
                <div class="side_top"><i class="menu-icon fa fa-desktop"></i>菜单列表</div>
                <ul class="one">
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('#')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">基础信息管理</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>

                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="教育商户列表" class="acLi" onclick="zan(this);clickForward('/biz/bizEducation')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">教育商户列表</span>
                                    <div class="clear"></div>
                                </a>
                             
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="商户管理" class="acLi" onclick="zan(this);clickForward('#')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">商户管理</span>
                                    <div class="clear"></div>
                                </a>
                           </li>
                        </ul>

                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="风险保证金管理" class="acLi" onclick="zan(this);clickForward('/biz/bizRiskList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">风险保证金管理</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        
                    </li>
                  
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/managerList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">管理列表</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>

                    </li>
                
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/auditList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">初审列表</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>

                    </li>
                
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('#')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">日常业务处理</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>

                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="待放款列表" class="acLi" onclick="zan(this);clickForward('/lending/lendingList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">待放款列表</span>
                                    <div class="clear"></div>
                                </a>
                            
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="批扣列表" class="acLi" onclick="zan(this);clickForward('/deduct/deductionList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">批扣列表</span>
                                    <div class="clear"></div>
                                </a>
                               
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="批扣流水列表" class="acLi" onclick="zan(this);clickForward('/repaySendDetail/repaySendDetailList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">批扣流水列表</span>
                                    <div class="clear"></div>
                                </a>
                               
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="发送还款提示短信" class="acLi" onclick="zan(this);clickForward('/repay/repayMsgList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">发送还款提示短信</span>
                                    <div class="clear"></div>
                                </a>
                               
                            </li>

                        </ul>
                        
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="退货处理" class="acLi" onclick="zan(this);clickForward('/refund/refundList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">退货处理</span>
                                    <div class="clear"></div>
                                </a>
                              
                            </li>
                        </ul>
                        
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="意见反馈" class="acLi" onclick="zan(this);clickForward('/feedback/feedbackList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">意见反馈</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="91待放款列表" class="acLi" onclick="zan(this);clickForward('/lending/lending91List')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">91待放款列表</span>
                                    <div class="clear"></div>
                                </a>
                               
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="客户绑卡列表" class="acLi" onclick="zan(this);clickForward('/custBackCard/list')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">客户绑卡列表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>

                        </ul>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('#')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">查询统计</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="逾期表查询" class="acLi" onclick="zan(this);clickForward('/overdure/overdureList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">逾期表查询</span>
                                    <div class="clear"></div>
                                </a>
                               
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="还款数据统计查询" class="acLi" onclick="zan(this);clickForward('/loan/repayCountList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">还款数据统计查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="已放款查询" class="acLi" onclick="zan(this);clickForward('/lending/alreadyLendingList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">已放款查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="贷款情况查询" class="acLi" onclick="zan(this);clickForward('/loan/reportLoanList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">贷款情况查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="进件来源查询" class="acLi" onclick="zan(this);clickForward('/hdStatisticsReport/applyLoanAddressList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">进件来源查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="信用卡退货订单" class="acLi" onclick="zan(this);clickForward('/skquery/skqueryRefundListPage')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">信用卡退货订单</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="提前结清查询" class="acLi" onclick="zan(this);clickForward('/hdStatisticsReport/getEarlySettlement/')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">提前结清查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="信审统计报表" class="acLi" onclick="zan(this);clickForward('/loan/tohDExaminationExport')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">信审统计报表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="风险监控数据" class="acLi" onclick="zan(this);clickForward('/hdStatisticalReportBiz/hdStatisticalReportBizList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">风险监控数据</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="信用卡订单" class="acLi" onclick="zan(this);clickForward('/skquery/skqueryListPage')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">信用卡订单</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="资产质量数据表" class="acLi" onclick="zan(this);clickForward('/overdure/toPingAnExcelList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">资产质量数据表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="客户列表" class="acLi" onclick="zan(this);clickForward('/cust/toCustList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">客户列表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>

                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="放款明细" class="acLi" onclick="zan(this);clickForward('/hdStatisticsReport/lendingDetailList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">放款明细</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="91已放款查询" class="acLi" onclick="zan(this);clickForward('/lending/alreadyLendingListFor91')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">91已放款查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="花呗订单查询" class="acLi" onclick="zan(this);clickForward('/alipay/list')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">花呗订单查询</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="商户交易风险监控" class="acLi" onclick="zan(this);clickForward('/hdStatisticalReportBiz/hdStatisticalAlipayRiskReportList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">商户交易风险监控</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="信审逾期统计" class="acLi" onclick="zan(this);clickForward('/hdStatisticalReportBiz/hdStatisticalReportAllocList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">信审逾期统计</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="资方风险监控数据" class="acLi" onclick="zan(this);clickForward('/hdStatisticalReportBiz/hdStatisticalReportFundData')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">资方风险监控数据</span>
                                    <div class="clear"></div>
                                </a>
                            </li>

                        </ul>
                                        
                                    
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/reviewList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">复审列表</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/reportLoanList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">贷款情况查询(风控)</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/overdure/overdureList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">逾期列表</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a> 
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('#')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">信审日报表</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="资方日报表" class="acLi" onclick="zan(this);clickForward('/report/examineCapitalReportList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">资方日报表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="商户日报表" class="acLi" onclick="zan(this);clickForward('/report/examineReportList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">商户日报表</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>   
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/import_apply/to_import_apply_page')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">纯手动录件</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a> 
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/reportLoanListForWord')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">沃付分期贷款情况查询</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/report/examineTotalList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">信审情况统计</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/loan/reportLoanListFor91')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">91贷款情况查询</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('/refund/refundOrEarlyClearanceList')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">退货/提前结清</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                    </li>
                    <li class="u_Li open">
                        <a href="#" class="onSt" onclick="zan(this);clickForward('')" >
                            <img class="side_icon" src="picture/list_active.png"/>
                            <span class="side_text co_wt">运营</span>
                            <img class="side_up"
                                 src="">
                            <div class="clear"></div>
                        </a>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="退货/提前结清" class="acLi" onclick="zan(this);clickForward('/lending/settleListFor91')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">退货/提前结清</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                        <ul class="two">
                            <li class="u_Li">
                                <a href="#" title="商户返佣审核" class="acLi" onclick="zan(this);clickForward('/financialExpend/operationCheckList')">
                                    <img class="side_icon fs_12" src="picture/jiantou.png"/>
                                    <span class="side_text">商户返佣审核</span>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        <div class="content1" href="">
        <style>

                .shenXinSpan{
                    display: inline-block;
                    width: 80px;
                    color: #428bca;
                }
                .shenXinSpan2{
                    display: inline-block;
                    width: 120px;
                    color: #428bca;
                }
                .shenXinSpan3{
                    display: inline-block;
                    width: 100px;
                    color: #428bca;
                }

                .upLoad {
                    display: inline-block;
                    width: 146px;
                    height: 146px;
                    background-image: url("/hd/static/images/addPic.png");
                    background-size: 146px 146px;
                    position: relative;
                    overflow: hidden;
                    margin-left: 0;
                    margin-top: 20px;
                }
                .upLoad img{
                    width: 146px;
                    height: 146px;
                }
                .fileImg {
                    width: 146px;
                    height: 146px;
                    position: absolute;
                    right: 0;
                    top: 0;
                    opacity: 0;
                    filter: alpha(opacity=0);
                }
                .otherImg{
                    width: 100%;
                    height: 420px;
                    overflow-y: auto;
                    margin-top: 15px;
                }
                .otherImg p{
                    height: 30px;
                    line-height: 30px;
                    font-size: 16px;
                    margin: 0;
                    text-align: center;
                }
                .clear{
                    clear: both;
                }
                .IDCard{
                    height: 230px;
                    text-align: center;
                    border: 1px solid #ddd;
                    margin-top: 15px;
                }
                .IDCard p{
                    height: 30px;
                    line-height: 30px;
                    font-size: 16px;
                    margin: 0;
                }
                .ml-50{
                    margin-left: 50px;
                }
                .selec ,#hdBussinessCustomerId{
                    height: 25px;
                    line-height: 25px;
                    border: 1px solid #ddd;
                }
                .selec ,.selec option{
                    font-size: 12px;
                }
                .jobInfo input{
                    height: 25px;
                    line-height: 25px;
                }
                .nnn input{
                    height: 25px;
                    line-height: 25px;
                }
                .bankArea input{
                    height: 25px;
                    line-height: 25px;
                }
                .bankArea{
                    margin-top: 2px;
                    height: 85px;
                    background-color: #fff;
                }
                .contactsList p{
                    margin: 11px 0;
                }
                .upLoad{
                    width: 269px;
                    height: 170px;
                    background-image: url("/hd/static/images/addID.png");
                    background-size: cover;
                    margin-top: 5px;
                    margin-bottom: 5px;
                }
                .fileImg{
                    width: 269px;
                    height: 170px;
                }
                .lab{
                    font-weight: normal;
                    margin: 0 5px;
                }
                .mwt_150{
                    min-width: 150px;
                }

                .content .ListTips{
                    font-size: 13px;
                }
                .contactFirst{
                    font-size: 12px;
                    color: #428bca;
                }
                .fs_12{
                    font-size: 12px;
                }
                .shenXin p input{
                    width: 370px;
                    height: 25px;
                    line-height: 25px;
                    border: 1px solid #ddd;
                    text-indent: 5px;
                }
                .shenXinSpan{
                    display: inline-block;
                    width: 100px;
                    color: #428bca;
                }
                .spanBtn{
                    font-size: 14px;
                    /*background-color: #0a9dc7;*/
                    color: #0a9dc7;
                    margin-left: 800px;
                    cursor: pointer;
                    width:100px;
                    height: 25px;
                    line-height: 25px;
                    text-align: center;
                }

                .shenXin a:hover{ color:red; }

                .shenXin a:active{
                    color: #00A1CB;
                }
                .shenXin a {
                    color: #0a9dc7;
                }


            </style>
            <script>
                function getProvinceCityCode(){
                    var province=$("#bizProvince").val();
                    var city=$("#bizCity").val();
                    var area=$("#bizArea").val();
                    if(province){
                        $.getJSON("static/area.json",function(data){
                            $.each(data, function (index,item) {
                                if(province==item["areaName"]){  //省相同获取省编码
                                    $("#bizProvinceCode").val(item['areaId']);
                                    var cityData=item.cities
                                    $.each(cityData, function (index_, item) {
                                       if(city==item["areaName"]){
                                           $("#bizCityCode").val(item['areaId']);
                                           var areaData=item.counties
                                           $.each(areaData, function (index_, item) {
                                               if(area==item["areaName"]){
                                                   $("#bizAreaCode").val(item['areaId']);
                                               }
                                           });
                                       }
                                    });
                                }
                            });
                        });
                    }
                }

            </script>
            <form id="saveForm" class="form-horizontal" action="/hd/biz/saveBiz/" method="post">
                <div class="content">
                    <!--面包屑导航start-->
                    <ol class="breadcrumb">
                        <li><a href="#">商户列表</a></li>
                        <li class="active">商户信息录入</li>
                    </ol>
                    <!--面包屑导航end-->

                    <!--正文内容start-->
                    <div class="panel panel-default">
                        <ul class="list-group">
                            <!--基本信息start-->
                            <li class="list-group-item con_title" id="mao2">基本信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <!--申请人信息start-->
                                <div class="col-sm-12 col-lg-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户名称:</span><input type="text" class="nameIpt" name="name" id="name"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">对外联系电话:</span><input type="text" class="nameIpt" id="contactTelNo" name="contactTelNo"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户法人:</span><input type="text" class="nameIpt" name="contacts" id="contacts"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">联系电话:</span><input type="text" class="nameIpt" id="tel" name="tel"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户地址:</span><input type="text" class="nameIpt" id="bizAddrDetail" name="bizAddrDetail"></p>
                                    <p class="col-lg-6 col-sm-6"><a style="margin-top:3px;" href="javascript:getBizPosition()">[从地图中搜索]</a></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-12 col-sm-12" style="height:60px;"><span class="shenXinSpan">商户简介:</span><textarea style="width:874px;height: 60px;" placeholder="请输入商户简介" id="intro" name="intro"></textarea></p>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="clear"></div>
                            <!--基本信息end-->
                            <li class="list-group-item con_title" id="mao2">生成合同所需信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <!--申请人信息start-->
                                <div class="col-sm-12 col-lg-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">出借人银行卡号:</span><input type="text" class="nameIpt" name="outBankCardNo" id="outBankCardNo"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">出借人户名:</span><input type="text" class="nameIpt" id="outBankIdName" name="outBankIdName"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">所属银行及支行:</span><input type="text" class="nameIpt" name="outBankName" id="outBankName"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">出借人地址:</span><input type="text" class="nameIpt" id="outAddress" name="outAddress"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">出借人邮箱:</span><input type="text" class="nameIpt" name="outEmail" id="outEmail"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">出借人手机号:</span><input type="text" class="nameIpt" id="outPhoneNo" name="outPhoneNo"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">开户行所在省:</span><input type="text" class="nameIpt" id="outbankprovince" name="outbankprovince"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">开户行所在市:</span><input type="text" class="nameIpt" id="outbankcity" name="outbankcity"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">开户银行联行号:</span><input type="text" class="nameIpt" id="outBankNo" name="outBankNo"></p>
                                </div>
                            </div>
                            <div class="clear"></div>
                            <!--进度信息【资金方准入】start-->
                            <li class="list-group-item con_title">进度信息【资金方准入】<span class="spanBtn" id="addCapital">添加</span></li>
                            <div class="contacts">
                                <div class="col-lg-12 col-sm-12 col-md-12 pt_15">
                                    <table class="table table-bordered ta_bm">
                                        <tbody><tr>
                                            <th class="text-center">序号</th>
                                            <th class="text-center">资方</th>
                                            <th class="text-center">描述</th>
                                            <th class="text-center">状态</th>
                                            <th class="text-center">机构码</th>
                                            <th class="text-center">操作</th>
                                        </tr>
                                    </tbody></table>
                                </div>
                            </div>
                            <div class="clear"></div>
                            <!--进度信息【资金方准入】end-->
                            <!--合同信息start-->
                            <li class="list-group-item con_title">合同信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <div class="col-sm-12 col-lg-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">开始日期:</span><input type="text" class="nameIpt" readonly="" placeholder="请选择时间" id="startDate" name="startDate"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">结束日期:</span><input type="text" class="nameIpt" readonly="" placeholder="请选择时间" id="endDate" name="endDate"></p>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="col-sm-12 col-lg-12 otherData">
                                <div class="col-lg-3 col-sm-3 imgBox _img_box contractImgDiv">
                                    <a class="addPicBtn">
                                        <input type="file" class="upLoadImg" onchange="contractImg(this)" multiple="multiple">
                                    </a>
                                </div>
                            </div>

                            <div class="clear"></div>
                            <!--合同信息end-->
                            <!--配置信息start-->
                            <li class="list-group-item con_title" id="mao5">配置信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <div class="col-sm-12 col-lg-12 col-md-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户登录账号 :</span><input type="text" class="nameIpt" name="account" id="account"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户登录密码:</span><input type="password" class="nameIpt" id="accountpwd" name="accountpwd"></p>
                                    <div class="clear"></div>

                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户类型:</span>
                                        <select class="selec" style="min-width: 370px" name="bussinessType" id="bussinessType">
                                            <option value="0" selected="">商户</option>
                                            <option value="1">代理</option> </select></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否有门店:</span>
                                        <select class="selec" style="min-width: 370px" name="shopFlag" id="shopFlag">
                                            <option value="0">是</option>
                                            <option value="1" selected="">否</option></select></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否能自建门店:</span>
                                        <select class="selec" style="min-width: 370px" name="createShopFlag" id="createShopFlag">
                                            <option value="0" selected="">否</option>
                                            <option value="1">是</option> </select></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否商户扣款:</span>
                                        <select class="selec" style="min-width: 370px" name="bussinessCustomerDeductionFlag" id="bussinessCustomerDeductionFlag">
                                            <option value="01" selected="">互动扣款</option>
                                            <option value="02">资方扣款</option>
                                            <option value="03">商户扣款</option></select></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否强制授权:</span>
                                        <select class="selec" style="min-width: 370px" name="authFlag" id="authFlag">
                                            <option value="N" selected="">否</option>
                                            <option value="Y">是</option> </select></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否能主动还款:</span>
                                        <select class="selec" style="min-width: 370px" name="paymentMethod" id="paymentMethod">
                                            <option value="0" selected="">否</option>
                                            <option value="1">是</option> </select></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">商户标识:</span>
                                        <label><input style="width:20px;" type="checkbox" value="1" name="sourceTpe">教育</label>
                                        <label><input style="width:20px;" type="checkbox" value="2" name="sourceTpe" onclick="rentingHoustChecked(this)">租房</label>
                                        <label><input style="width:20px;" type="checkbox" value="4" name="sourceTpe">数码</label>
                                        <label><input style="width:20px;" type="checkbox" value="3" name="sourceTpe">碧水源</label>
                                        <label><input style="width:20px;" type="checkbox" value="6" name="sourceTpe">花呗</label>
                                        <label><input style="width:20px;" type="checkbox" value="10" name="sourceTpe">房租月付</label>

                                    </p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">渠道维护 :</span>
                                        <select class="selec" style="min-width: 370px" name="channelManagerId" id="channelManagerId">
                                            
                                                <option value="18760dec-f53b-4a6b-9bf8-2cf322da9a35">吴英骄</option>
                                            
                                                <option value="36d938bf-58d5-4a7e-a7e6-2ae7e28efbb7">肖俊骞</option>
                                            
                                                <option value="8a86bc56-55af-4957-9eea-61e34a778232">楚鹏</option>
                                            
                                                <option value="92c4dfed-e665-4e98-9afe-4bc01f9dc525">林燚填</option>
                                            
                                                <option value="931937a3-e374-469f-8977-e8373bb7ab34">张咏</option>
                                            
                                                <option value="bc4e53ba-a7f0-4abf-a1a3-e4e0630ab1c6">张雍昊</option>
                                            
                                                <option value="cfef2ca9-3805-45c3-b7aa-c1aab257294e">李家欢</option>
                                            
                                                <option value="f9b2f164-691b-42aa-8d0b-bb3f06478edc">李文明</option>
                                            
                                        </select>
                                    </p>
                                    <div class="clear"></div>
                                    <div id="sourceTpyDel" style="display: none">
                                        <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">公寓类型 :</span>
                                            <select class="selec" style="min-width: 370px" name="houseType" id="houseType">
                                                <option value="1">集中式</option>
                                                <option value="2">分散式</option>
                                                <option value="1,2">集中/分散式</option> </select></p>
                                        <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">是否添加房源 :</span>
                                            <select class="selec" style="min-width: 370px" name="addHouseFlag" id="addHouseFlag">
                                                <option value="0">不允许</option>
                                                <option value="1">允许</option>
                                            </select>
                                        </p>
                                        <div class="clear"></div>
                                    </div>
                                    <div class="clear"></div>
                                    <div id="isCaptialDiv" style="display: none">
                                        <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">机构类型 :</span>
                                            <select class="selec" style="min-width: 370px" name="isCapital" id="isCapital">
                                                <option value="1">机构</option>
                                                <option value="2">资金</option> </select></p>
                                       
                                        <div class="clear"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="clear"></div>
                            <!--配置信息end-->
                            <li class="list-group-item con_title" id="mao6">资金信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <div class="col-sm-12 col-lg-12 col-md-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">账户类型:</span>
                                        <select class="selec" style="min-width: 370px" name="accountType" id="accountType">
                                            <option value="0">对公</option>
                                            <option value="1">对私</option></select></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">账户名称:</span><input type="text" class="nameIpt" id="comName" name="comName"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">开户银行:</span><input type="text" class="nameIpt" id="bankName" name="bankName"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">银行账号:</span><input type="text" class="nameIpt" id="bankAccountNo" name="bankAccountNo"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">提前扣款天数:</span><input type="text" class="nameIpt" name="prepaymentDay" id="prepaymentDay"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">一次性服务费率:</span><input type="text" class="nameIpt" name="disposableFeeRate" id="disposableFeeRate"></p>
                                    <div class="clear"></div>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">服务费率:</span><input type="text" class="nameIpt" name="serviceFeeRate" id="serviceFeeRate"></p>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="clear"></div>
                            
                            <!--配置信息end-->
                            <li class="list-group-item con_title" id="mao6">支付宝信息</li>
                            <div class="col-sm-12 col-lg-12 mt_10">
                                <div class="col-sm-12 col-lg-12 col-md-12 shenXin">
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">支付宝账号:</span><input type="text" class="nameIpt" id="alipayNo" name="alipayNo"></p>
                                    <p class="col-lg-6 col-sm-6"><span class="shenXinSpan">支付宝PID:</span><input type="text" class="nameIpt" id="alipayPid" name="alipayPid"></p>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="clear"></div>
                            <li class="list-group-item con_title">其他资料信息</li>
                            <div class="col-sm-12 col-lg-12 otherData">
                                <div class="col-lg-3 col-sm-3 imgBox _img_box otherImgDiv">
                                    <a class="addPicBtn">
                                        <input type="file" class="upLoadImg" onchange="otherImg(this)" multiple="multiple">
                                    </a>
                                </div>
                            </div>

                            <div class="clear"></div>

                        </ul>
                    </div>
                    <input type="hidden" id="bizProvince" name="bizProvince">
                    <input type="hidden" id="bizCity" name="bizCity">
                    <input type="hidden" id="bizArea" name="bizArea">
                    <input type="hidden" id="bizProvinceCode" name="bizProvinceCode">
                    <input type="hidden" id="bizCityCode" name="bizCityCode">
                    <input type="hidden" id="bizAreaCode" name="bizAreaCode">
                    <input type="hidden" id="channelManagerName" name="channelManagerName">
                    <input type="hidden" id="longitude" name="longitude">
                    <input type="hidden" id="latitude" name="latitude">
                    <!--复审意见-->
                    <div class="findingsAudit wt_100" style="height: 100px;">
                        <button type="button" class="btn btn-primary nextStep" style="left: 50%" onclick="saveBiz(this)">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <audio id="audio" src="/hd/static/2895.mp3" style="opacity:0" controls preload hidden="true"  />

</div>
<script src="js/html5shiv.js"></script>
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/icheck.min.js"></script>
<script src="js/layer.js"></script>
<script src="js/dragzoom-1.0.js"></script>
<script src="js/imgcontroller.js"></script>
<script src="js/bootstrap-datetimepicker.js"></script>
<script src="js/controllertop.js"></script>
<script src="js/jquery.datatables.min.js"></script>

<script src="js/datatables.bootstrap.min.js"></script>
<script src="js/sockjs.min.js"></script>



<script type="text/javascript">
    var layerWin;
$(function(){
	if ($.fn.dataTable) {
			$.extend(true, $.fn.dataTable.defaults, {
                "pageLength": 10,
				serverSide: true,
                offsetY:50,
				"pagingType": "full_numbers",
				"language": {
			        "processing": "处理中...",
			        "lengthMenu": " _MENU_ ",
			        "zeroRecords": "没有匹配结果",
			        "info": "显示第 _START_ - _END_ 条记录，共_TOTAL_ 条",
			        "infoEmpty": "显示第 0 至 0 项结果，共 0 项",
			        "infoFiltered": "(由 _MAX_ 项结果过滤)",
			        "infoPostFix": "",
			        "search": "搜索:",
			        "url": "",
			        "emptyTable": "没有符合您搜索条件的信息",
			        "loadingRecords": "载入中...",
			        "infoThousands": ",",
			        "paginate": {
			            "first": "首页",
			            "previous": "上页",
			            "next": "下页",
			            "last": "末页"
			        }
			        
			    }
			});
		}
});

//全局的ajax访问，处理ajax清求时sesion超时
$.ajaxSetup({
    contentType:"application/x-www-form-urlencoded;charset=utf-8",
    complete:function(XMLHttpRequest,textStatus){
        //通过XMLHttpRequest取得响应头，sessionstatus，
         if(XMLHttpRequest.status==401){
            //如果超时就处理 ，指定要跳转的页面
            window.location = "/hd/approve/login";
         }
    }
});

</script>

<script>
    var conentWin;//定义内容对象
    $(function(){
        conentWin = $(".content1");
        if(false){
            conentWin.load("/hd/loan/auditList");
        }else if(false){
            conentWin.load("/hd/loan/managerList");
        }else if(false){
            conentWin.load("/hd/loan/reviewList");
        }else if(false){
            conentWin.load("/hd/import_apply/to_import_apply_page");
        }else if(false){
            conentWin.load("/hd/import_apply/reviewList");
        } else if(true){
            conentWin.load("/hd/import_apply/reportLoanList");
        }else if(false){
            conentWin.load("/hd/lending/lendingList");
        }

    })

    function clickForward(url){
        if("#" != url && 'null' != url  ){
            conentWin.load("/hd"+url);
        }

    }

    /**
     * 退出系统方法
     */
    function logout(){
    	var username = $("#username").val();
        layer.confirm("确定要退出系统吗？", {
            btn: ['确认','取消'] //按钮
        }, function(){
            window.location.href = "/hd/approve/logout?username="+username;
        }, function(){
            return;
        });
    }

    /**
     * 签到、签出方法
     * @param userId 用户ID
     * @param signStatus 状态：1（已签到），0（未签到）
     */
    function signStatus(userId,signStatus){
//        alert("userId="+userId+",signStatus="+signStatus);
        var aj = $.ajax( {
            url:'/hd/loan/signStatus',// 跳转到 action
            data:{
                userId : userId,
                signStatus : signStatus
            },
            type:'post',
            dataType:'json',
            success:function(data) {
                var signStatusStr = "";
                if(data==1){
                    if(signStatus=='0'){
                        layer.tips('签出成功！', '#signStatusUl');
//                        layer.msg("签出成功！");
                        signStatusStr = '<li class="login_name1 qianLi">'+
                                        '<a class="navbar-right qian" href="javascript:void(0);" onclick="signStatus(\''+userId+'\',\'1\');">未签到</a>'+
                                        '<li>';
                    }else if(signStatus=='1'){
                        layer.tips('签到成功！', '#signStatusUl');
                        signStatusStr = '<li class="login_name1">'+
                                        '<a class="navbar-right yiqian" href="javascript:void(0);">已签到</a>'+
                                        '<ul class="quit1">'+
                                        '<li><a class="cheOut" href="javascript:void(0);" onclick="signStatus(\''+userId+'\',\'0\');">签出</a></li>'+
                                        '</ul>'+
                                        '<div class="clear"></div>'+
                                        '<li>';
                    }
                    $("#signStatusUl").html(signStatusStr);
                }else{
                    if(signStatus=='0'){
                        layer.tips('签出失败！', '#signStatusUl');
                        return;
                    }else if(signStatus=='1'){
                        layer.tips('签到失败！', '#signStatusUl');
                        return;
                    }
                }
            },
            error : function() {
                layer.msg("服务异常！");
            }
        });
    }

</script>
<script>
    function zan(data) {
        if($(data).hasClass("acLi")){
            $(".u_Li a").removeClass("activeBg");
            $(data).addClass("activeBg");
            $(".fs_12").removeClass("activeIcon");
            $(data).children("img").addClass("activeIcon");
            if(!$(data).parents(".third").length){
                $(".third").slideUp();
            }
        }
        if ($(data).siblings(".two").length) {
            if($(data).siblings(".two").css("display")=="block"){
                $(data).siblings(".two").slideUp();
                $(data).children(".side_up").removeClass("activeImg");
                $(".third").slideUp();
            }else {
                $(data).siblings(".two").slideDown().end().parent().siblings(".u_Li").children(".two").slideUp();
                $(data).children(".side_up").addClass("activeImg");
            }
        } else {
            if($(data).siblings(".third").css("display")=="block"){
                $(data).siblings(".third").slideUp();
                $(data).children(".side_up").removeClass("activeImg");
                $(data).children("img").removeClass("activeIcon");
            }else {
                $(data).siblings(".third").slideDown().end().parent().siblings(".u_Li").children(".third").slideUp();
                $(data).children(".side_up").addClass("activeImg");
            }
        }
    }
    $(function(){
        $(".u_Li").delegate(".onSt","click",function(){
            var twoDom=$(".two");
            $.each(twoDom,function(index,twodm){
                var kaka=$(twodm).find(".third").length;
                if(!kaka){
                    $(twodm).find(".side_icon").attr("src","/hd/static/img/jiantou_.png")
                }else {
                $(twodm).find(".side_icon").attr("src","/hd/static/img/jiantou.png")
                }
            });
        });
    })
</script>

<script>
    var projectName="/hd";
    var url = "localhost:8081/approve";
    var musie=document.getElementById('audio')
    if("/hd"==projectName){
//        url='a.hdfex.com/hd';
        url='101.200.185.96:8680/hd';
    }else if("/hd-merchant-approve"==projectName){
       url='182.92.6.16:8688/hd-merchant-approve';
    }
    var websocket = null;

    if ('WebSocket' in window) {
        websocket = new WebSocket("ws://" + url + "/webSocketServer");
    } else {
        websocket = new SockJS("http://" + url + "/webSocketServer/sockjs");
    }
    websocket.onopen = function(){
//            setInterval(function () {
//                websocket.send('ping');
//            }, 3000);

    };
    websocket.onmessage = function(event){
        var data=event.data;
        if(data.indexOf('客户端Id')!=-1){
            return;
        }
        var mylayer=layer.open({
            type: 1,
            title:'消息',
            time: 10000,
            shift:5,
            resize:false,
            move: false,
            area: ['300px', '150px']
            ,offset: 'rb' //具体配置参考：offset参数项
            ,content: '<div style="padding: 10px 40px;">'+data+'</div>'
            ,btnAlign: 'c' //按钮居中
            ,shade: 0 //不显示遮罩
            ,cancel: function(){
                layer.close(mylayer);
            }
        });
        musie.play();
    };
    websocket.onerror = function(){
        disconnect();
    };
    websocket.onclose = function(event){
        disconnect();
//        connect();
    };
//    if(null==websocket){
//        connect();
//    }

//    function connect(){
//        if ('WebSocket' in window) {
//            websocket = new WebSocket("ws://" + url + "/webSocketServer");
//        } else {
//            websocket = new SockJS("http://" + url + "/webSocketServer/sockjs");
//        }
//        websocket.onopen = function(){
////            setInterval(function () {
////                websocket.send('ping');
////            }, 3000);
//
//        };
//        websocket.onmessage = function(event){
//            var data=event.data;
//            if(data.indexOf('客户端Id')!=-1){
//                return;
//            }
//            var mylayer=layer.open({
//                type: 1,
//                title:'消息',
//                time: 10000,
//                shift:5,
//                resize:false,
//                move: false,
//                area: ['300px', '150px']
//                ,offset: 'rb' //具体配置参考：offset参数项
//                ,content: '<div style="padding: 10px 40px;">'+data+'</div>'
//                ,btnAlign: 'c' //按钮居中
//                ,shade: 0 //不显示遮罩
//                ,cancel: function(){
//                    layer.close(mylayer);
//                }
//            });
//            musie.play();
//        };
//        websocket.onerror = function(){
//            connect();
//        };
//        websocket.onclose = function(event){
//            connect();
////            disconnect();
//        };
//    }

    function disconnect() {
        if (websocket != null) {
            websocket.close();
            websocket = null;
        }
    }

/*     function ssoTurn(){
	    var surl = $("#ssoUrl").val();
        window.open(surl,"_self");
	} */
	
/* 	
	$("#ssoTurn").click(function(){
		console.log("111111");
		ssoTurn();
		 }) */
    
    function ssoTurn(){
		console.log("2222222222");
	    var surl = $("#ssoUrl").val();
	    var ctx = "/hd";
	    $.ajax({
			type: "POST",
			url:"/hd/approve/sso",
			data:{},
			success:function(data){
 				window.open(surl,"_self");
			}
		})
	}
</script>
</body>
</html>
